Run `rustc` for information fewer times
authorAlex Crichton <alex@alexcrichton.com>
Tue, 27 Mar 2018 11:55:23 +0000 (04:55 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 27 Mar 2018 13:19:37 +0000 (06:19 -0700)
commit0eb7edf5b4cb252f5415e20081eb643bd91cbc9b
tree6a5b11cf89f5d46cd0cb4bb9b2ff9371223f04e4
parent311a5eda6f90d660bb23e97c8ee77090519b9eda
Run `rustc` for information fewer times

Currently if you pass `--target` the same as rustc's host Cargo will run `rustc`
on extra time to learn information, but we only need to run it once to learn
such information!
src/cargo/ops/cargo_rustc/context/mod.rs